import { get } from './request'

//获取轮播数据
export function getBanner() {
  return get('/banner', {
    params: {
      type: 1
    }
  })
}


//获取歌单数据
export function getSongList() {
  return get('/personalized', {
    params: {
      limit: 8
    }
  })
}

//获取歌单详情
export function getListDetail(id) {
  return get('/playlist/detail', {
    params: {
      id
    }
  })
}
//获取歌单内的歌曲详情
export function getdemo(ids) {
  return get('/song/detail', {
    params: {
      ids
    }
  })
}

//获取歌词
export function getlyric(id) {
  return get('/lyric', {
    params: {
      id
    }
  })
}

//首页歌曲数据
export function getMusicList() {
  return get('/personalized/newsong',)
}
